﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NorthwindEmployees
{
    public partial class Employees : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!this.IsPostBack) 
            {
                NorthwindEntities context = new NorthwindEntities();
                this.employees.DataSource = context.Employees;
                this.employees.DataBind();

                
            }
        }
    }
}